package com.xywl.escort.view.pay.product;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.BandCardListResp;
import com.xywl.escort.bean.ProductPayApplyReq;
import com.xywl.escort.bean.SubscribeBuyReq;
import com.xywl.escort.bean.SubscribeBuyResp;
import com.xywl.escort.bean.UserFundInfoResp;

public class ProductPayDialogContract {

    public interface Presenter extends BasePresenter {
        void takeView(ProductPayDialogContract.View view);

        void getUserFunds(String userId);

        void getBandCardList(String cardType, int pageNum, int pageSize);

        void productPayApply(ProductPayApplyReq req);

        void isSetPayPwd(String userId, int type);
    }

    interface View extends BaseView<Presenter> {
        void getUserFundsSuccess(UserFundInfoResp.DataBean dataBean);

        void getUserFundsFailure();

        void getBandCardListSuccess(BandCardListResp.DataBean dataBean);

        void getBandCardListFailure();

        void hasSetPayPwd(int type);

        void noSetPayPwd();

        void findIsFitPayPwdFailure(String msg);

        void productPayApplySuccess(String data);

        void productPayApplyFailure(String msg);
    }
}
